package com.aos.erp.gov.ex.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

public enum TaskSyncStatus implements IEnum {

    close(-1, "关闭"),
    work(0, "正常");

    private int value;
    private String desc;

    TaskSyncStatus(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Serializable getValue() {
        return this.value;
    }


    public String getDesc() {
        return this.desc;
    }

}